#pragma once
#include <stdio.h>
#include <stdlib.h>

#define CAPACITY 4
typedef struct Stack {
    int* a;
    int top;
    int capacity;
} Stack;

Stack* StackCreate();
void StackPush(Stack* obj, int x);
int StackPop(Stack* obj);
int StackPeek(Stack* obj);
bool StackEmpty(Stack* obj);
void StackDestory(Stack* obj);